(0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_canvas_api_auths" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar(255), "api_domain" varchar(255), "api_token" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131114150001"]]  (0.8ms) commit transaction Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "coalescing_panda_lti_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "key" varchar(255), "secret" varchar(255), "oauth2_client_id" varchar(255), "oauth2_client_key" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131118211442"]]  (0.6ms) commit transaction Migrating to CreateCoalescingPandaLtiNonces (20131119165343)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131119165343"]]  (0.8ms) commit transaction Migrating to AddSettingsToCoalescingPandaLtiAccount (20140722210735)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "coalescing_panda_lti_accounts" ADD "settings" text SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140722210735"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaSessions (20140904223159)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "coalescing_panda_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "data" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140904223159"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaTerms (20141119225319)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "coalescing_panda_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "name" varchar(255), "code" varchar(255), "sis_id" varchar(255), "canvas_term_id" varchar(255), "start_at" datetime, "end_at" datetime, "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_coalescing_panda_terms_on_canvas_term_id" ON "coalescing_panda_terms" ("canvas_term_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_terms_on_sis_id" ON "coalescing_panda_terms" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225319"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaCourses (20141119225721)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "coalescing_panda_term_id" integer, "name" varchar(255), "canvas_course_id" varchar(255), "sis_id" varchar(255), "start_at" datetime, "conclude_at" datetime, "workflow_state" varchar(255), "course_code" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_coalescing_panda_courses_on_canvas_course_id" ON "coalescing_panda_courses" ("canvas_course_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_courses_on_sis_id" ON "coalescing_panda_courses" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225721"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaSections (20141120151432)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "coalescing_panda_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer, "name" varchar(255), "canvas_section_id" varchar(255), "sis_id" varchar(255), "workflow_state" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_coalescing_panda_sections_on_canvas_section_id" ON "coalescing_panda_sections" ("canvas_section_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_sections_on_sis_id" ON "coalescing_panda_sections" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151432"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaAssignments (20141120151940)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "coalescing_panda_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer, "name" varchar(255), "description" varchar(255), "canvas_assignment_id" varchar(255), "sis_id" varchar(255), "workflow_state" varchar(255), "points_possible" float, "due_at" datetime, "unlock_at" datetime, "lock_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_coalescing_panda_assignments_on_canvas_assignment_id" ON "coalescing_panda_assignments" ("canvas_assignment_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_assignments_on_sis_id" ON "coalescing_panda_assignments" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151940"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaUsers (20141120152458)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "coalescing_panda_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "roles" varchar(255), "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_user_id" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_coalescing_panda_users_on_canvas_user_id" ON "coalescing_panda_users" ("canvas_user_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_users_on_sis_id" ON "coalescing_panda_users" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152458"]]  (0.6ms) commit transaction Migrating to CreateCoalescingPandaSubmissions (20141120152546)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_submissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer, "coalescing_panda_assignment_id" integer, "url" varchar(255), "grade" varchar(255), "score" varchar(255), "submitted_at" datetime, "workflow_state" varchar(255), "canvas_submission_id" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_coalescing_panda_submissions_on_canvas_submission_id" ON "coalescing_panda_submissions" ("canvas_submission_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152546"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaEnrollments (20141120153135)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer, "coalescing_panda_section_id" integer, "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_enrollment_id" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_coalescing_panda_enrollments_on_canvas_enrollment_id" ON "coalescing_panda_enrollments" ("canvas_enrollment_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_enrollments_on_sis_id" ON "coalescing_panda_enrollments" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120153135"]]  (0.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (11.1ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 16:39:31 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 16:39:31 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction 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 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 16:41:45 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 16:41:45 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 16:42:40 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 16:42:40 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 16:43:42 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 16:43:42 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.4ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 16:45:57 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 16:45:57 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 16:46:43 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 16:46:43 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.4ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 16:47:21 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 16:47:21 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (3.2ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 16:48:46 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 16:48:46 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.5ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 16:49:12 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 16:49:12 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.4ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1 Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 16:50:46 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 16:50:46 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1 Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 16:51:12 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 16:51:12 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.4ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1 Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 16:52:09 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 16:52:09 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.2ms) 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.4ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1 Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 16:52:55 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 16:52:55 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.5ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) 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" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1 Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 16:53:38 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 16:53:38 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.2ms) 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.6ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 0ms Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1 Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 16:55:46 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 16:55:46 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.5ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1 Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 16:59:53 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 16:59:53 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.2ms) 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.4ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1 Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 17:19:03 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 17:19:03 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.5ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 6.2ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1 Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 17:19:27 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 17:19:27 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.2ms) 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.5ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 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  (0.1ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1 Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 17:20:20 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 17:20:20 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.2ms) 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.5ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 2ms Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 6.1ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1 Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.4ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 17:25:44 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 17:25:44 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.4ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1 Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 17:26:21 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 17:26:21 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.5ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms) 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" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1 Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 17:31:58 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 17:31:58 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (7.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "coalescing_panda_canvas_api_auths" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar(255), "api_domain" varchar(255), "api_token" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131114150001"]]  (0.8ms) commit transaction Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_lti_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "key" varchar(255), "secret" varchar(255), "oauth2_client_id" varchar(255), "oauth2_client_key" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131118211442"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaLtiNonces (20131119165343)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131119165343"]]  (0.7ms) commit transaction Migrating to AddSettingsToCoalescingPandaLtiAccount (20140722210735)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "coalescing_panda_lti_accounts" ADD "settings" text SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140722210735"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaSessions (20140904223159)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "data" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140904223159"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaTerms (20141119225319)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "name" varchar(255), "code" varchar(255), "sis_id" varchar(255), "canvas_term_id" varchar(255), "start_at" datetime, "end_at" datetime, "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_coalescing_panda_terms_on_canvas_term_id" ON "coalescing_panda_terms" ("canvas_term_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_terms_on_sis_id" ON "coalescing_panda_terms" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225319"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaCourses (20141119225721)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "coalescing_panda_courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "coalescing_panda_term_id" integer, "name" varchar(255), "canvas_course_id" varchar(255), "sis_id" varchar(255), "start_at" datetime, "conclude_at" datetime, "workflow_state" varchar(255), "course_code" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_courses_account" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id")  (0.1ms) CREATE INDEX "index_courses_term" ON "coalescing_panda_courses" ("coalescing_panda_term_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_courses_on_canvas_course_id" ON "coalescing_panda_courses" ("canvas_course_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_courses_on_sis_id" ON "coalescing_panda_courses" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225721"]]  (0.8ms) commit transaction Migrating to CreateCoalescingPandaSections (20141120151432)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer, "name" varchar(255), "canvas_section_id" varchar(255), "sis_id" varchar(255), "workflow_state" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_coalescing_panda_sections_on_coalescing_panda_course_id" ON "coalescing_panda_sections" ("coalescing_panda_course_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_sections_on_canvas_section_id" ON "coalescing_panda_sections" ("canvas_section_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_sections_on_sis_id" ON "coalescing_panda_sections" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151432"]]  (0.8ms) commit transaction Migrating to CreateCoalescingPandaAssignments (20141120151940)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer, "name" varchar(255), "description" varchar(255), "canvas_assignment_id" varchar(255), "sis_id" varchar(255), "workflow_state" varchar(255), "points_possible" float, "due_at" datetime, "unlock_at" datetime, "lock_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_assignments_course" ON "coalescing_panda_assignments" ("coalescing_panda_course_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_assignments_on_canvas_assignment_id" ON "coalescing_panda_assignments" ("canvas_assignment_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_assignments_on_sis_id" ON "coalescing_panda_assignments" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151940"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaUsers (20141120152458)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "coalescing_panda_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "name" varchar(255), "email" varchar(255), "roles" varchar(255), "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_user_id" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_users_account" ON "coalescing_panda_users" ("coalescing_panda_lti_account_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_users_on_canvas_user_id" ON "coalescing_panda_users" ("canvas_user_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_users_on_sis_id" ON "coalescing_panda_users" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152458"]]  (0.8ms) commit transaction Migrating to CreateCoalescingPandaSubmissions (20141120152546)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "coalescing_panda_submissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer, "coalescing_panda_assignment_id" integer, "url" varchar(255), "grade" varchar(255), "score" varchar(255), "submitted_at" datetime, "workflow_state" varchar(255), "canvas_submission_id" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE INDEX "index_submissions_user_and_assignment" ON "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_submissions_on_canvas_submission_id" ON "coalescing_panda_submissions" ("canvas_submission_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152546"]]  (0.8ms) commit transaction Migrating to CreateCoalescingPandaEnrollments (20141120153135)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer, "coalescing_panda_section_id" integer, "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_enrollment_id" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE INDEX "index_enrollments_user_and_assignment" ON "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_enrollments_on_canvas_enrollment_id" ON "coalescing_panda_enrollments" ("canvas_enrollment_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_enrollments_on_sis_id" ON "coalescing_panda_enrollments" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120153135"]]  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1 Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 18:35:11 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 18:35:11 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.5ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 6.1ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1 Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 20 Nov 2014 18:35:43 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 18:35:43 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.2ms) 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddCanvasAccountIdToLtiAccount (20141120205729)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "coalescing_panda_lti_accounts" ADD "canvas_account_id" varchar(255) SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120205729"]]  (0.8ms) commit transaction Migrating to CreateCoalescingPandaCanvasBatches (20141121174846)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_canvas_batches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "percent_complete" float DEFAULT 0.0, "status" varchar(255), "message" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141121174846"]]  (0.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (3.5ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 15:56:35 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 15:56:35 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.8ms) rollback transaction  (0.0ms) begin transaction 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 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateDelayedJobs (20141124160857)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "queue" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141124160857"]]  (6.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:10:58 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 16:10:58 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.4ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:17:16 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 16:17:16 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.4ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 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  (0.1ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:18:26 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 16:18:26 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.3ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:20:57 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 16:20:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:20:57 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 16:20:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:20:57 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 16:20:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:21:20 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 16:21:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:21:20 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 16:21:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:21:20 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 16:21:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:21:28 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 16:21:28 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:21:28 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 16:21:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:21:28 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 16:21:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:21:28 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 16:21:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:22:19 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:22:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:22:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:22:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:22:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:22:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:23:41 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 16:23:41 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.5ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:23:41 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 16:23:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:23:41 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 16:23:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:23:41 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 16:23:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (2.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:25:40 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:25:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:25:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:25:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:25:40 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:25:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:25:40 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:25:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:25:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:25:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:25:40 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:25:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:28:09 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:28:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:28:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:28:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:28:10 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:28:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:28:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:28:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:28:10 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:28:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:28:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 16:28:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Error"], ["message", "Connection refused - connect(2) for \"localhost\" port 3000"], ["updated_at", Mon, 24 Nov 2014 16:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:29:00 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:29:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:29:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:29:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:29:00 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:29:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 16:29:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Error"], ["message", "undefined method `pry' for #"], ["updated_at", Mon, 24 Nov 2014 16:29:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (7.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:29:19 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:29:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:29:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:29:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:29:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:29:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 16:29:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Error"], ["message", "undefined method `pry' for #"], ["updated_at", Mon, 24 Nov 2014 16:29:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:29:28 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:29:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:29:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:29:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:29:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:29:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 16:29:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Error"], ["message", "undefined method `pry' for #"], ["updated_at", Mon, 24 Nov 2014 16:29:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:29:42 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:29:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:29:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:29:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:29:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:29:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 16:29:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Error"], ["message", "undefined method `pry' for #"], ["updated_at", Mon, 24 Nov 2014 16:29:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (9.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (4.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Error"], ["message", "undefined method `pry' for #"], ["updated_at", Mon, 24 Nov 2014 16:29:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (4.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Error"], ["message", "undefined method `pry' for #"], ["updated_at", Mon, 24 Nov 2014 16:30:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Error"], ["message", "undefined method `pry' for #"], ["updated_at", Mon, 24 Nov 2014 16:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:30:40 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:30:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:30:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:30:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:30:40 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:30:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:30:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:30:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:30:40 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:30:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:30:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:30:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 16:31:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Error"], ["message", "Connection refused - connect(2) for \"localhost\" port 3000"], ["updated_at", Mon, 24 Nov 2014 16:33:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 5.3ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:34:26 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 16:34:26 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:34:26 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 16:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:34:26 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 16:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:34:26 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 16:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 16:34:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:04:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Error"], ["message", "undefined method `all_pages!' for #"], ["updated_at", Mon, 24 Nov 2014 17:04:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:04:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Error"], ["message", "undefined method `all_pages!' for #"], ["updated_at", Mon, 24 Nov 2014 17:20:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:20:08 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:20:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:20:08 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:20:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:20:08 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:20:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:20:09 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:20:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:20:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:20:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:20:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:20:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:20:09 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:20:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:20:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:20:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:20:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:20:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:20:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Error"], ["message", "undefined method `all_pages!' for #"], ["updated_at", Mon, 24 Nov 2014 17:20:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:20:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:20:53 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:20:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "canvas_section_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["canvas_section_id", 1], ["updated_at", Mon, 24 Nov 2014 17:20:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.3ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:20:58 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:20:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:20:58 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:20:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:20:58 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:20:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Error"], ["message", "undefined method `all_pages!' for #"], ["updated_at", Mon, 24 Nov 2014 17:20:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (7.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (3.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:22:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:31:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (3.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (4.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:46:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:47:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:47:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:47:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:49:38 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (1.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:52:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:53:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:54:40 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:54:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:55:06 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:55:12 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:55:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:55:22 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:55:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:55:40 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:55:40 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:55:43 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:55:43 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:55:45 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:55:45 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (7.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:55:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:55:50 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (7.4ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:55:50 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:55:52 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:55:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:55:55 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:55:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:55:57 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:55:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (6.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.9ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:55:57 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:55:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:55:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:55:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:55:57 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:55:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:56:04 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:56:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:56:04 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (7.1ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:56:09 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:56:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:56:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 17:56:11 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:56:11 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 17:56:13 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:56:13 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 17:56:16 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:56:16 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 17:56:18 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:56:18 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (6.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:56:18 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:56:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:56:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:56:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (3.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:58:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:29 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:58:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:58:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:58:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:58:29 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:58:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (3.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (1.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 17:59:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.1ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:00:02 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:17 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:00:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:00:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:00:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:00:17 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:00:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (7.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.4ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (4.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.5ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.5ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.4ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.4ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.4ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (3.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.3ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:18:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:30:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:04 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:04 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:32:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.3ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:40:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:42:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:42:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:43:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:43:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:54 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:43:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:43:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:43:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:43:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:43:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:45:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:39 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:45:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:45:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:45:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:45:39 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:45:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (1.9ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:48:46 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:48:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:48:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:48:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:48:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:48:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (1.9ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:51:57 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:51:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:51:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:51:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:51:57 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:51:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:53:37 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:53:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:53:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:53:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:53:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:53:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (1.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:57:42 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:57:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:57:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:57:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:57:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:57:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (1.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:09 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:59:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:59:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:59:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.1ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 18:59:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:00:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (3.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:01:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (3.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (1.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (2.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:52 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:52 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:03:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:03:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:03:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:03:52 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:03:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (3.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:06:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:06:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:07:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (33.8ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:08:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 19:15:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "teacher@test.com"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "student1@test.com"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "student2@test.com"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["created_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", []], ["updated_at", Mon, 24 Nov 2014 19:15:30 UTC +00:00]] TypeError: can't cast Array to string: INSERT INTO "coalescing_panda_users" ("canvas_user_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["created_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:16:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:17:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_users" SET "coalescing_panda_lti_account_id" = ?, "updated_at" = ?, "roles" = ? WHERE "coalescing_panda_users"."id" = 1 [["coalescing_panda_lti_account_id", 2], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.3ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_users" SET "coalescing_panda_lti_account_id" = ?, "updated_at" = ?, "roles" = ? WHERE "coalescing_panda_users"."id" = 1 [["coalescing_panda_lti_account_id", 2], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_users" SET "coalescing_panda_lti_account_id" = ?, "updated_at" = ?, "roles" = ? WHERE "coalescing_panda_users"."id" = 1 [["coalescing_panda_lti_account_id", 2], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:22:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 19:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (3.2ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:21:51 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 23:21:51 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:21:51 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:21:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:21:51 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:21:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:21:51 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:21:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (3.2ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:09 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 23:23:09 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:09 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:23:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:09 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:23:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:09 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:23:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:25 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 23:23:25 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.5ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:25 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:23:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:25 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:23:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:25 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (9.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (3.5ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (2.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (6.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.3ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.4ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:25:16 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:25:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:25:16 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:25:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:25:16 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:25:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (6.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:08 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:08 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:08 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (6.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:13 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddTypeToEnrollments (20141125185516)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "coalescing_panda_enrollments" ADD "type" varchar(255) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141125185516"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (3.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '8' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "2"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '9' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "2"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '8' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '9' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '5' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "2"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '8' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '9' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '5' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "2"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.2ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '8' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '9' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '5' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 2ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.3ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '8' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:50:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '9' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '6' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '8' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:51:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '9' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '6' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (3.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 26 Nov 2014 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.6ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '8' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '9' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '6' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '9' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (9.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:55:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '10' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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"."canvas_assignment_id" = '6' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 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  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.2ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '9' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 18:57:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '10' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '6' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to ChangeTypeToEnrollmentType (20141126191112)  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to ChangeTypeToEnrollmentType (20141126191112)  (0.0ms) begin transaction  (1.5ms) CREATE TEMPORARY TABLE "acoalescing_panda_enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer, "coalescing_panda_section_id" integer, "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_enrollment_id" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime, "enrollment_type" varchar(255))   (0.2ms) CREATE INDEX "tindex_acoalescing_panda_enrollments_on_sis_id" ON "acoalescing_panda_enrollments" ("sis_id")  (0.1ms) CREATE INDEX "tindex_acoalescing_panda_enrollments_on_canvas_enrollment_id" ON "acoalescing_panda_enrollments" ("canvas_enrollment_id")  (0.1ms) CREATE INDEX "tindex_enrollments_user_and_assignment" ON "acoalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id")  (0.1ms) SELECT * FROM "coalescing_panda_enrollments"  (0.4ms) DROP TABLE "coalescing_panda_enrollments"  (0.2ms) CREATE TABLE "coalescing_panda_enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer, "coalescing_panda_section_id" integer, "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_enrollment_id" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime, "enrollment_type" varchar(255))   (0.1ms) CREATE INDEX "index_enrollments_user_and_assignment" ON "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_enrollments_on_canvas_enrollment_id" ON "coalescing_panda_enrollments" ("canvas_enrollment_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_enrollments_on_sis_id" ON "coalescing_panda_enrollments" ("sis_id")  (0.1ms) SELECT * FROM "acoalescing_panda_enrollments"  (0.4ms) DROP TABLE "acoalescing_panda_enrollments" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141126191112"]]  (7.3ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 19:14:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.2ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '9' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:14:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '10' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '6' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 26 Nov 2014 19:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '9' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 19:15:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '10' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '6' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (3.2ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:11:30 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 21:11:30 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (6.4ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:11:30 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 21:11:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:11:30 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 21:11:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:11:30 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 21:11:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.5ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '11' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 12], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00], ["email", "test13@test.com"], ["name", "Factory User 13"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.3ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '12' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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"."canvas_assignment_id" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]] CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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" = '11' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["name", "test assignment"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 12], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00], ["email", "test13@test.com"], ["name", "Factory User 13"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 26 Nov 2014 21:44:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '12' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) CREATE TABLE "coalescing_panda_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer, "name" varchar(255), "description" varchar(255), "canvas_assignment_id" varchar(255), "sis_id" varchar(255), "workflow_state" varchar(255), "points_possible" float, "due_at" datetime, "unlock_at" datetime, "lock_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_coalescing_panda_assignments_on_canvas_assignment_id" ON "coalescing_panda_assignments" ("canvas_assignment_id")  (0.7ms) CREATE INDEX "index_assignments_course" ON "coalescing_panda_assignments" ("coalescing_panda_course_id")  (0.8ms) CREATE INDEX "index_coalescing_panda_assignments_on_sis_id" ON "coalescing_panda_assignments" ("sis_id")  (0.8ms) CREATE TABLE "coalescing_panda_canvas_api_auths" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar(255), "api_domain" varchar(255), "api_token" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "coalescing_panda_canvas_batches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "percent_complete" float DEFAULT 0.0, "status" varchar(255), "message" text, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "coalescing_panda_courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "coalescing_panda_term_id" integer, "name" varchar(255), "canvas_course_id" varchar(255), "sis_id" varchar(255), "start_at" datetime, "conclude_at" datetime, "workflow_state" varchar(255), "course_code" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_coalescing_panda_courses_on_canvas_course_id" ON "coalescing_panda_courses" ("canvas_course_id")  (0.7ms) CREATE INDEX "index_courses_account" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id")  (0.6ms) CREATE INDEX "index_courses_term" ON "coalescing_panda_courses" ("coalescing_panda_term_id")  (0.6ms) CREATE INDEX "index_coalescing_panda_courses_on_sis_id" ON "coalescing_panda_courses" ("sis_id")  (0.6ms) CREATE TABLE "coalescing_panda_enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer, "coalescing_panda_section_id" integer, "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_enrollment_id" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime, "enrollment_type" varchar(255))  (0.6ms) CREATE INDEX "index_coalescing_panda_enrollments_on_canvas_enrollment_id" ON "coalescing_panda_enrollments" ("canvas_enrollment_id")  (0.6ms) CREATE INDEX "index_enrollments_user_and_assignment" ON "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id")  (0.6ms) CREATE INDEX "index_coalescing_panda_enrollments_on_sis_id" ON "coalescing_panda_enrollments" ("sis_id")  (0.7ms) CREATE TABLE "coalescing_panda_lti_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "key" varchar(255), "secret" varchar(255), "oauth2_client_id" varchar(255), "oauth2_client_key" varchar(255), "created_at" datetime, "updated_at" datetime, "settings" text, "canvas_account_id" varchar(255))  (0.7ms) CREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime)   (0.7ms) CREATE TABLE "coalescing_panda_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer, "name" varchar(255), "canvas_section_id" varchar(255), "sis_id" varchar(255), "workflow_state" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE INDEX "index_coalescing_panda_sections_on_canvas_section_id" ON "coalescing_panda_sections" ("canvas_section_id")  (0.6ms) CREATE INDEX "index_coalescing_panda_sections_on_coalescing_panda_course_id" ON "coalescing_panda_sections" ("coalescing_panda_course_id")  (0.6ms) CREATE INDEX "index_coalescing_panda_sections_on_sis_id" ON "coalescing_panda_sections" ("sis_id")  (0.7ms) CREATE TABLE "coalescing_panda_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "data" text, "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE TABLE "coalescing_panda_submissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer, "coalescing_panda_assignment_id" integer, "url" varchar(255), "grade" varchar(255), "score" varchar(255), "submitted_at" datetime, "workflow_state" varchar(255), "canvas_submission_id" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE INDEX "index_coalescing_panda_submissions_on_canvas_submission_id" ON "coalescing_panda_submissions" ("canvas_submission_id")  (0.7ms) CREATE INDEX "index_submissions_user_and_assignment" ON "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id")  (0.8ms) CREATE TABLE "coalescing_panda_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "name" varchar(255), "code" varchar(255), "sis_id" varchar(255), "canvas_term_id" varchar(255), "start_at" datetime, "end_at" datetime, "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_coalescing_panda_terms_on_canvas_term_id" ON "coalescing_panda_terms" ("canvas_term_id")  (0.7ms) CREATE INDEX "index_coalescing_panda_terms_on_sis_id" ON "coalescing_panda_terms" ("sis_id")  (0.8ms) CREATE TABLE "coalescing_panda_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "name" varchar(255), "email" varchar(255), "roles" varchar(255), "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_user_id" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_coalescing_panda_users_on_canvas_user_id" ON "coalescing_panda_users" ("canvas_user_id")  (0.8ms) CREATE INDEX "index_users_account" ON "coalescing_panda_users" ("coalescing_panda_lti_account_id")  (0.7ms) CREATE INDEX "index_coalescing_panda_users_on_sis_id" ON "coalescing_panda_users" ("sis_id")  (0.8ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "queue" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141126191112')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131114150001')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20131118211442')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131119165343')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140904223159')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141119225319')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141119225721')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141120151432')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141120151940')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141120152458')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141120152546')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141120153135')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141121174846')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141124160857') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (7.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "coalescing_panda_canvas_api_auths" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar(255), "api_domain" varchar(255), "api_token" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131114150001"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "coalescing_panda_lti_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "key" varchar(255), "secret" varchar(255), "oauth2_client_id" varchar(255), "oauth2_client_key" varchar(255), "canvas_account_id" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131118211442"]]  (0.8ms) commit transaction Migrating to CreateCoalescingPandaLtiNonces (20131119165343)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131119165343"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaSessions (20140904223159)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "data" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140904223159"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaTerms (20141119225319)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "coalescing_panda_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer NOT NULL, "name" varchar(255), "code" varchar(255), "sis_id" varchar(255), "canvas_term_id" varchar(255) NOT NULL, "start_at" datetime, "end_at" datetime, "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateCoalescingPandaTerms (20141119225319)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "coalescing_panda_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer NOT NULL, "name" varchar(255), "code" varchar(255), "sis_id" varchar(255), "canvas_term_id" varchar(255) NOT NULL, "start_at" datetime, "end_at" datetime, "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE UNIQUE INDEX "index_terms_account" ON "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_terms_on_sis_id" ON "coalescing_panda_terms" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225319"]]  (1.0ms) commit transaction Migrating to CreateCoalescingPandaCourses (20141119225721)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer NOT NULL, "coalescing_panda_term_id" integer NOT NULL, "name" varchar(255), "canvas_course_id" varchar(255) NOT NULL, "sis_id" varchar(255), "start_at" datetime, "conclude_at" datetime, "workflow_state" varchar(255), "course_code" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.3ms) CREATE UNIQUE INDEX "index_courses_account" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "canvas_course_id")  (0.1ms) CREATE UNIQUE INDEX "index_courses_term" ON "coalescing_panda_courses" ("coalescing_panda_term_id", "canvas_course_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_courses_on_sis_id" ON "coalescing_panda_courses" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225721"]]  (0.9ms) commit transaction Migrating to CreateCoalescingPandaSections (20141120151432)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "name" varchar(255), "canvas_section_id" varchar(255) NOT NULL, "sis_id" varchar(255), "workflow_state" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateCoalescingPandaSections (20141120151432)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "name" varchar(255), "canvas_section_id" varchar(255) NOT NULL, "sis_id" varchar(255), "workflow_state" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime)   (1.1ms) CREATE UNIQUE INDEX "index_sections_course" ON "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_sections_on_sis_id" ON "coalescing_panda_sections" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151432"]]  (7.0ms) commit transaction Migrating to CreateCoalescingPandaAssignments (20141120151940)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "coalescing_panda_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "name" varchar(255), "description" varchar(255), "canvas_assignment_id" varchar(255) NOT NULL, "sis_id" varchar(255), "workflow_state" varchar(255), "points_possible" float, "due_at" datetime, "unlock_at" datetime, "lock_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.4ms) CREATE UNIQUE INDEX "index_assignments_course" ON "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id")  (0.2ms) CREATE INDEX "index_coalescing_panda_assignments_on_sis_id" ON "coalescing_panda_assignments" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151940"]]  (1.1ms) commit transaction Migrating to CreateCoalescingPandaUsers (20141120152458)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer NOT NULL, "name" varchar(255), "email" varchar(255), "roles" varchar(255), "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_user_id" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.5ms) CREATE UNIQUE INDEX "index_users_account" ON "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id")  (0.2ms) CREATE INDEX "index_coalescing_panda_users_on_sis_id" ON "coalescing_panda_users" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152458"]]  (0.9ms) commit transaction Migrating to CreateCoalescingPandaSubmissions (20141120152546)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "coalescing_panda_submissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer NOT NULL, "coalescing_panda_assignment_id" integer NOT NULL, "url" varchar(255), "grade" varchar(255), "score" varchar(255), "submitted_at" datetime, "workflow_state" varchar(255), "canvas_submission_id" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_submissions_user_and_assignment" ON "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_submissions_on_canvas_submission_id" ON "coalescing_panda_submissions" ("canvas_submission_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152546"]]  (0.8ms) commit transaction Migrating to CreateCoalescingPandaEnrollments (20141120153135)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer NOT NULL, "coalescing_panda_section_id" integer NOT NULL, "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_enrollment_id" varchar(255) NOT NULL, "enrollment_type" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.3ms) CREATE UNIQUE INDEX "index_enrollments_user_and_assignment" ON "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "enrollment_type")  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateCoalescingPandaEnrollments (20141120153135)  (0.0ms) begin transaction  (1.0ms) CREATE TABLE "coalescing_panda_enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer NOT NULL, "coalescing_panda_section_id" integer NOT NULL, "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_enrollment_id" varchar(255) NOT NULL, "enrollment_type" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime)   (1.2ms) CREATE UNIQUE INDEX "index_enrollments_user_and_assignment" ON "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "enrollment_type")  (0.2ms) CREATE UNIQUE INDEX "index_unique_canvas_enrollment" ON "coalescing_panda_enrollments" ("coalescing_panda_user_id", "canvas_enrollment_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_enrollments_on_sis_id" ON "coalescing_panda_enrollments" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120153135"]]  (7.1ms) commit transaction Migrating to CreateCoalescingPandaCanvasBatches (20141121174846)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "coalescing_panda_canvas_batches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "percent_complete" float DEFAULT 0.0, "status" varchar(255), "message" text, "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141121174846"]]  (0.8ms) commit transaction Migrating to CreateDelayedJobs (20141124160857)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "queue" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141124160857"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.4ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.4ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (3.9ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.4ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.4ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:26:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (6.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:06 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (6.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:27:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:27:53 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:29:32 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 6.1ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:42:55 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (6.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 15:45:03 UTC +00:00]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_courses.coalescing_panda_term_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 6], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_enrollments.coalescing_panda_user_id: INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 27], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (1.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["workflow_state", "graded"]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_submissions.coalescing_panda_user_id: INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 7], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '11' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '7' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 12], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00], ["email", "test13@test.com"], ["name", "Factory User 13"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:06:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '12' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 6], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_enrollments.coalescing_panda_user_id: INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 27], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["workflow_state", "graded"]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_submissions.coalescing_panda_user_id: INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 7], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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" = '11' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '7' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 12], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00], ["email", "test13@test.com"], ["name", "Factory User 13"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '12' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (3.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 6], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_enrollments.coalescing_panda_user_id: INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (9.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 27], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["workflow_state", "graded"]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_submissions.coalescing_panda_user_id: INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (1.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 7], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '11' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '7' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 12], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00], ["email", "test13@test.com"], ["name", "Factory User 13"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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" = '12' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 6], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_enrollments.coalescing_panda_user_id: INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 27], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (9.6ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.3ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["workflow_state", "graded"]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_submissions.coalescing_panda_user_id: INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 7], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '11' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '7' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 12], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00], ["email", "test13@test.com"], ["name", "Factory User 13"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:11:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '12' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (3.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:13:01 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:13:01 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:13:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:13:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:13:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:14:49 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:14:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "canvas_section_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["canvas_section_id", 1], ["updated_at", Mon, 01 Dec 2014 16:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:15:07 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:15:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:15:12 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:15:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:15:15 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:15:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:15:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:15:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:15:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:16:30 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:16:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:16:30 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:16:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:16:30 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:16:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:16:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:16:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:16:31 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:16:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:16:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:16:31 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:16:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:16:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:16:31 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:16:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "2"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:16:31 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:16:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "3"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:16:31 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:16:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:16:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "2"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "3"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:16:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "2"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:16:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (7.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "2"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "3"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "2"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "3"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "2"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:17:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (7.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "2"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "3"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "2"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "3"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "2"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 5], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 6], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "2"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "3"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_enrollments.coalescing_panda_user_id: INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "2"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.2ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", "3"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["workflow_state", "graded"]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_submissions.coalescing_panda_user_id: INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:17:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "2"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "3"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:19:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "2"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "3"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "2"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 5], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 6], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (1.1ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "2"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "3"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users" CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_enrollments.coalescing_panda_user_id: INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "2"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:20:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users" 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"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", "3"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["workflow_state", "graded"]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_submissions.coalescing_panda_user_id: INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:21:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (7.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:21:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (6.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (6.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "2"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "3"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "2"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "3"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "2"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 5], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 6], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "2"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "3"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "2"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "3"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_enrollments.coalescing_panda_section_id: INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "2"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "2"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "3"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", "3"], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["workflow_state", "graded"]] SQLite3::ConstraintException: NOT NULL constraint failed: coalescing_panda_submissions.coalescing_panda_assignment_id: INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:22:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (7.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "2"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "3"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "2"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "3"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "2"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 5], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 6], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "2"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "3"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "2"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "3"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "2"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "3"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "2"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "2"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", "3"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "2"], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", "3"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", "4"], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 5], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 6], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.1ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:23:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (0.9ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (7.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.3ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_lti_account_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 6], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:26:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 27], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.2ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 7], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '11' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '7' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "94"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 95"], ["name", "Account 95"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 95"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 96"], ["name", "Account 96"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 96"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["key", "Key 97"], ["name", "Account 97"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 97"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 12], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00], ["email", "test13@test.com"], ["name", "Factory User 13"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '12' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_lti_account_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_term_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 6], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 27], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 7], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "94"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 95"], ["name", "Account 95"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 95"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 96"], ["name", "Account 96"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 96"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '11' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '7' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 97"], ["name", "Account 97"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 97"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 98"], ["name", "Account 98"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 98"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 99"], ["name", "Account 99"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 99"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["key", "Key 100"], ["name", "Account 100"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 100"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 12], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00], ["email", "test13@test.com"], ["name", "Factory User 13"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:26:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '12' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_lti_account_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_term_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 6], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_sections.coalescing_panda_course_id, coalescing_panda_sections.canvas_section_id: INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 27], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "94"], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["key", "Key 95"], ["name", "Account 95"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 95"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["key", "Key 96"], ["name", "Account 96"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 96"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 7], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["key", "Key 97"], ["name", "Account 97"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 97"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["key", "Key 98"], ["name", "Account 98"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 98"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '11' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '7' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["key", "Key 99"], ["name", "Account 99"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 99"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["key", "Key 100"], ["name", "Account 100"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 100"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "100"], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["key", "Key 101"], ["name", "Account 101"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 101"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["key", "Key 102"], ["name", "Account 102"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 102"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 12], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00], ["email", "test13@test.com"], ["name", "Factory User 13"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '12' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 2ms  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 6.2ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (3.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_assignments.coalescing_panda_course_id, coalescing_panda_assignments.canvas_assignment_id: INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_lti_account_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_term_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_sections.coalescing_panda_course_id, coalescing_panda_sections.canvas_section_id: INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 27], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.6ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "94"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 95"], ["name", "Account 95"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 95"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 96"], ["name", "Account 96"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 96"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 97"], ["name", "Account 97"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 97"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 98"], ["name", "Account 98"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 98"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 7], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 99"], ["name", "Account 99"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 99"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 100"], ["name", "Account 100"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 100"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.2ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '11' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '7' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "100"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 101"], ["name", "Account 101"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 101"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 102"], ["name", "Account 102"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 102"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 103"], ["name", "Account 103"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 103"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["key", "Key 104"], ["name", "Account 104"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 104"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 12], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00], ["email", "test13@test.com"], ["name", "Factory User 13"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:29:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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" = '12' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_assignments.coalescing_panda_course_id, coalescing_panda_assignments.canvas_assignment_id: INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_lti_account_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_term_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_sections.coalescing_panda_course_id, coalescing_panda_sections.canvas_section_id: INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_users.coalescing_panda_lti_account_id, coalescing_panda_users.canvas_user_id: INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 27], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.5ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (1.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "94"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 95"], ["name", "Account 95"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 95"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 96"], ["name", "Account 96"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 96"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 97"], ["name", "Account 97"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 97"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 98"], ["name", "Account 98"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 98"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 99"], ["name", "Account 99"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 99"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 7], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 100"], ["name", "Account 100"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 100"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "100"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 101"], ["name", "Account 101"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 101"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.2ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.3ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["email", "test14@test.com"], ["name", "Factory User 14"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '11' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '7' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 102"], ["name", "Account 102"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 102"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 103"], ["name", "Account 103"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 103"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 104"], ["name", "Account 104"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 104"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "104"], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["key", "Key 105"], ["name", "Account 105"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 105"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 12], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:30:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '12' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.9ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_assignments.coalescing_panda_course_id, coalescing_panda_assignments.canvas_assignment_id: INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_lti_account_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_term_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 5], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 4], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 2], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_enrollments.coalescing_panda_user_id, coalescing_panda_enrollments.canvas_enrollment_id: INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 7], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_sections.coalescing_panda_course_id, coalescing_panda_sections.canvas_section_id: INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["email", "test14@test.com"], ["name", "Factory User 14"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_users.coalescing_panda_lti_account_id, coalescing_panda_users.canvas_user_id: INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 27], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:32:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "94"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 95"], ["name", "Account 95"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 95"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 96"], ["name", "Account 96"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 96"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 97"], ["name", "Account 97"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 97"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 98"], ["name", "Account 98"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 98"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 99"], ["name", "Account 99"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 99"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 100"], ["name", "Account 100"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 100"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "100"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 101"], ["name", "Account 101"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 101"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 102"], ["name", "Account 102"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 102"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 103"], ["name", "Account 103"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 103"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 104"], ["name", "Account 104"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 104"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "104"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 105"], ["name", "Account 105"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 105"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 106"], ["name", "Account 106"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 106"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "106"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 107"], ["name", "Account 107"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 107"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 108"], ["name", "Account 108"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 108"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 10], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "108"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 109"], ["name", "Account 109"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 109"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 110"], ["name", "Account 110"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 110"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["email", "test17@test.com"], ["name", "Factory User 17"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '14' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '10' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "110"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 111"], ["name", "Account 111"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 111"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 112"], ["name", "Account 112"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 112"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 113"], ["name", "Account 113"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 113"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "113"], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["key", "Key 114"], ["name", "Account 114"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 114"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_assignments.coalescing_panda_course_id, coalescing_panda_assignments.canvas_assignment_id: INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_lti_account_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_term_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 5], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 4], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 2], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_enrollments.coalescing_panda_user_id, coalescing_panda_enrollments.canvas_enrollment_id: INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 7], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_sections.coalescing_panda_course_id, coalescing_panda_sections.canvas_section_id: INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["email", "test14@test.com"], ["name", "Factory User 14"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_users.coalescing_panda_lti_account_id, coalescing_panda_users.canvas_user_id: INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 27], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.2ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "94"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 95"], ["name", "Account 95"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 95"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 96"], ["name", "Account 96"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 96"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 97"], ["name", "Account 97"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 97"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 98"], ["name", "Account 98"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 98"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 99"], ["name", "Account 99"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 99"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 100"], ["name", "Account 100"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 100"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "100"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 101"], ["name", "Account 101"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 101"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 102"], ["name", "Account 102"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 102"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 103"], ["name", "Account 103"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 103"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 104"], ["name", "Account 104"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 104"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "104"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 105"], ["name", "Account 105"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 105"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 106"], ["name", "Account 106"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 106"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "106"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 107"], ["name", "Account 107"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 107"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 108"], ["name", "Account 108"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 108"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 10], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "108"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 109"], ["name", "Account 109"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 109"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 110"], ["name", "Account 110"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 110"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["email", "test17@test.com"], ["name", "Factory User 17"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '14' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '10' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "110"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 111"], ["name", "Account 111"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 111"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 112"], ["name", "Account 112"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 112"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 113"], ["name", "Account 113"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 113"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "113"], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["key", "Key 114"], ["name", "Account 114"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 114"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:33:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (4.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_assignments.coalescing_panda_course_id, coalescing_panda_assignments.canvas_assignment_id: INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_lti_account_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_term_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_enrollments.coalescing_panda_user_id, coalescing_panda_enrollments.canvas_enrollment_id: INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 39"], ["name", "Account 39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 39"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_sections.coalescing_panda_course_id, coalescing_panda_sections.canvas_section_id: INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["email", "test13@test.com"], ["name", "Factory User 13"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_users.coalescing_panda_lti_account_id, coalescing_panda_users.canvas_user_id: INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 27], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.5ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.5ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "94"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 95"], ["name", "Account 95"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 95"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 96"], ["name", "Account 96"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 96"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 97"], ["name", "Account 97"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 97"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 98"], ["name", "Account 98"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 98"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 99"], ["name", "Account 99"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 99"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 100"], ["name", "Account 100"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 100"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "100"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 101"], ["name", "Account 101"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 101"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 102"], ["name", "Account 102"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 102"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 8], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 103"], ["name", "Account 103"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 103"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 104"], ["name", "Account 104"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 104"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '12' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '8' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "104"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 105"], ["name", "Account 105"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 105"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 106"], ["name", "Account 106"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 106"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "106"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 107"], ["name", "Account 107"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 107"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["key", "Key 108"], ["name", "Account 108"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 108"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 13], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '13' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) 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" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (35.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_assignments.coalescing_panda_course_id, coalescing_panda_assignments.canvas_assignment_id: INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_lti_account_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_term_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_enrollments.coalescing_panda_user_id, coalescing_panda_enrollments.canvas_enrollment_id: INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_sections.coalescing_panda_course_id, coalescing_panda_sections.canvas_section_id: INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["email", "test13@test.com"], ["name", "Factory User 13"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["email", "test14@test.com"], ["name", "Factory User 14"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_users.coalescing_panda_lti_account_id, coalescing_panda_users.canvas_user_id: INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 27], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.1ms) rollback transaction  (0.5ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.2ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.4ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "94"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 95"], ["name", "Account 95"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 95"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 96"], ["name", "Account 96"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 96"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 97"], ["name", "Account 97"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 97"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 98"], ["name", "Account 98"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 98"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 99"], ["name", "Account 99"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 99"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 100"], ["name", "Account 100"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 100"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "100"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 101"], ["name", "Account 101"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 101"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 102"], ["name", "Account 102"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 102"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 103"], ["name", "Account 103"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 103"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 104"], ["name", "Account 104"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 104"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "104"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 105"], ["name", "Account 105"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 105"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 106"], ["name", "Account 106"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 106"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "106"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 107"], ["name", "Account 107"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 107"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '13' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 108"], ["name", "Account 108"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 108"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "108"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 109"], ["name", "Account 109"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 109"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 110"], ["name", "Account 110"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 110"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "110"], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["key", "Key 111"], ["name", "Account 111"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 111"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 14], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00], ["email", "test17@test.com"], ["name", "Factory User 17"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:36:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '14' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (36.9ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_assignments.coalescing_panda_course_id, coalescing_panda_assignments.canvas_assignment_id: INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction 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 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_lti_account_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_term_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_enrollments.coalescing_panda_user_id, coalescing_panda_enrollments.canvas_enrollment_id: INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_sections.coalescing_panda_course_id, coalescing_panda_sections.canvas_section_id: INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["email", "test13@test.com"], ["name", "Factory User 13"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["email", "test14@test.com"], ["name", "Factory User 14"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_users.coalescing_panda_lti_account_id, coalescing_panda_users.canvas_user_id: INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 27], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.5ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "94"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 95"], ["name", "Account 95"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 95"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 96"], ["name", "Account 96"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 96"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 97"], ["name", "Account 97"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 97"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 98"], ["name", "Account 98"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 98"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 99"], ["name", "Account 99"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 99"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 100"], ["name", "Account 100"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 100"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "100"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 101"], ["name", "Account 101"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 101"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 102"], ["name", "Account 102"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 102"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 103"], ["name", "Account 103"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 103"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 104"], ["name", "Account 104"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 104"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "104"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 105"], ["name", "Account 105"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 105"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 106"], ["name", "Account 106"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 106"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "106"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 107"], ["name", "Account 107"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 107"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '13' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 108"], ["name", "Account 108"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 108"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "108"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 109"], ["name", "Account 109"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 109"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 110"], ["name", "Account 110"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 110"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "110"], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["key", "Key 111"], ["name", "Account 111"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 111"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 14], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00], ["email", "test17@test.com"], ["name", "Factory User 17"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '14' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 2ms  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_assignments.coalescing_panda_course_id, coalescing_panda_assignments.canvas_assignment_id: INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_lti_account_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_term_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_enrollments.coalescing_panda_user_id, coalescing_panda_enrollments.canvas_enrollment_id: INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_enrollments.coalescing_panda_user_id, coalescing_panda_enrollments.canvas_enrollment_id: INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_sections.coalescing_panda_course_id, coalescing_panda_sections.canvas_section_id: INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["email", "test13@test.com"], ["name", "Factory User 13"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["email", "test14@test.com"], ["name", "Factory User 14"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_users.coalescing_panda_lti_account_id, coalescing_panda_users.canvas_user_id: INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 27], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.5ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.5ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.3ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "94"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 95"], ["name", "Account 95"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 95"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 96"], ["name", "Account 96"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 96"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 97"], ["name", "Account 97"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 97"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 98"], ["name", "Account 98"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 98"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 99"], ["name", "Account 99"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 99"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 100"], ["name", "Account 100"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 100"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "100"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 101"], ["name", "Account 101"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 101"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 102"], ["name", "Account 102"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 102"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 103"], ["name", "Account 103"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 103"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 104"], ["name", "Account 104"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 104"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "104"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 105"], ["name", "Account 105"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 105"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 106"], ["name", "Account 106"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 106"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "106"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 107"], ["name", "Account 107"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 107"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '13' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 108"], ["name", "Account 108"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 108"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "108"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 109"], ["name", "Account 109"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 109"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 110"], ["name", "Account 110"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 110"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "110"], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["key", "Key 111"], ["name", "Account 111"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 111"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 14], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00], ["email", "test17@test.com"], ["name", "Factory User 17"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '14' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (34.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_assignments.coalescing_panda_course_id, coalescing_panda_assignments.canvas_assignment_id: INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["user_id", "a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 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  (0.6ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_lti_account_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_term_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_enrollments.coalescing_panda_user_id, coalescing_panda_enrollments.canvas_enrollment_id: INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "2"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_sections.coalescing_panda_course_id, coalescing_panda_sections.canvas_section_id: INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["email", "test13@test.com"], ["name", "Factory User 13"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["email", "test14@test.com"], ["name", "Factory User 14"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_users.coalescing_panda_lti_account_id, coalescing_panda_users.canvas_user_id: INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 27], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["workflow_state", "graded"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "94"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 95"], ["name", "Account 95"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 95"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 96"], ["name", "Account 96"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 96"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 97"], ["name", "Account 97"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 97"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 98"], ["name", "Account 98"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 98"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 99"], ["name", "Account 99"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 99"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 100"], ["name", "Account 100"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 100"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "100"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 101"], ["name", "Account 101"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 101"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 102"], ["name", "Account 102"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 102"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00], ["key", "Key 103"], ["name", "Account 103"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 103"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["key", "Key 104"], ["name", "Account 104"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 104"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "104"], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["key", "Key 105"], ["name", "Account 105"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 105"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["key", "Key 106"], ["name", "Account 106"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 106"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "106"], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["key", "Key 107"], ["name", "Account 107"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 107"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '13' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["key", "Key 108"], ["name", "Account 108"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 108"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "108"], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["key", "Key 109"], ["name", "Account 109"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 109"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["key", "Key 110"], ["name", "Account 110"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 110"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "110"], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["key", "Key 111"], ["name", "Account 111"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 111"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 14], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00], ["email", "test17@test.com"], ["name", "Factory User 17"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 16:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '14' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '7' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.4ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.4ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (4.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_assignments.coalescing_panda_course_id, coalescing_panda_assignments.canvas_assignment_id: INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 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  (0.4ms) rollback transaction  (0.0ms) begin transaction 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 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_lti_account_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_term_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_enrollments.coalescing_panda_user_id, coalescing_panda_enrollments.canvas_enrollment_id: INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "2"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_sections.coalescing_panda_course_id, coalescing_panda_sections.canvas_section_id: INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 12], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_users.coalescing_panda_lti_account_id, coalescing_panda_users.canvas_user_id: INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.5ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (1.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.7ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "94"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 95"], ["name", "Account 95"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 95"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 96"], ["name", "Account 96"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 96"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 97"], ["name", "Account 97"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 97"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 98"], ["name", "Account 98"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 98"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 99"], ["name", "Account 99"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 99"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 100"], ["name", "Account 100"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 100"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "100"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 101"], ["name", "Account 101"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 101"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 102"], ["name", "Account 102"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 102"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 103"], ["name", "Account 103"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 103"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 104"], ["name", "Account 104"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 104"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "104"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 105"], ["name", "Account 105"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 105"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 106"], ["name", "Account 106"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 106"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "106"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 107"], ["name", "Account 107"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 107"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 108"], ["name", "Account 108"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 108"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "108"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 109"], ["name", "Account 109"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 109"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 110"], ["name", "Account 110"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 110"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "110"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 111"], ["name", "Account 111"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 111"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 112"], ["name", "Account 112"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 112"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 113"], ["name", "Account 113"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 113"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.2ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "113"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 114"], ["name", "Account 114"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 114"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "114"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 115"], ["name", "Account 115"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 115"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 116"], ["name", "Account 116"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 116"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "116"], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["key", "Key 117"], ["name", "Account 117"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 117"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 45], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_canvas_api_auths" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar(255), "api_domain" varchar(255), "api_token" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131114150001"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_lti_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "key" varchar(255), "secret" varchar(255), "oauth2_client_id" varchar(255), "oauth2_client_key" varchar(255), "canvas_account_id" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131118211442"]]  (0.8ms) commit transaction Migrating to CreateCoalescingPandaLtiNonces (20131119165343)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131119165343"]]  (0.6ms) commit transaction Migrating to CreateCoalescingPandaSessions (20140904223159)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "coalescing_panda_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "data" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140904223159"]]  (0.8ms) commit transaction Migrating to CreateCoalescingPandaTerms (20141119225319)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "coalescing_panda_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer NOT NULL, "name" varchar(255), "code" varchar(255), "sis_id" varchar(255), "canvas_term_id" varchar(255) NOT NULL, "start_at" datetime, "end_at" datetime, "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE UNIQUE INDEX "index_terms_account" ON "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_terms_on_sis_id" ON "coalescing_panda_terms" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225319"]]  (1.0ms) commit transaction Migrating to CreateCoalescingPandaCourses (20141119225721)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "coalescing_panda_courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer NOT NULL, "coalescing_panda_term_id" integer, "name" varchar(255), "canvas_course_id" varchar(255) NOT NULL, "sis_id" varchar(255), "start_at" datetime, "conclude_at" datetime, "workflow_state" varchar(255), "course_code" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.3ms) CREATE UNIQUE INDEX "index_courses_account" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "canvas_course_id")  (0.1ms) CREATE UNIQUE INDEX "index_courses_term" ON "coalescing_panda_courses" ("coalescing_panda_term_id", "canvas_course_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_courses_on_sis_id" ON "coalescing_panda_courses" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225721"]]  (0.9ms) commit transaction Migrating to CreateCoalescingPandaSections (20141120151432)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "coalescing_panda_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "name" varchar(255), "canvas_section_id" varchar(255) NOT NULL, "sis_id" varchar(255), "workflow_state" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE UNIQUE INDEX "index_sections_course" ON "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_sections_on_sis_id" ON "coalescing_panda_sections" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151432"]]  (0.8ms) commit transaction Migrating to CreateCoalescingPandaAssignments (20141120151940)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "name" varchar(255), "description" varchar(255), "canvas_assignment_id" varchar(255) NOT NULL, "workflow_state" varchar(255), "points_possible" float, "due_at" datetime, "unlock_at" datetime, "lock_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.3ms) CREATE UNIQUE INDEX "index_assignments_course" ON "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_assignments_on_sis_id" ON "coalescing_panda_assignments" ("sis_id") SQLite3::SQLException: table coalescing_panda_assignments has no column named sis_id: CREATE INDEX "index_coalescing_panda_assignments_on_sis_id" ON "coalescing_panda_assignments" ("sis_id")  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateCoalescingPandaAssignments (20141120151940)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "coalescing_panda_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "name" varchar(255), "description" varchar(255), "canvas_assignment_id" varchar(255) NOT NULL, "workflow_state" varchar(255), "points_possible" float, "due_at" datetime, "unlock_at" datetime, "lock_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE UNIQUE INDEX "index_assignments_course" ON "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151940"]]  (1.0ms) commit transaction Migrating to CreateCoalescingPandaUsers (20141120152458)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer NOT NULL, "name" varchar(255), "email" varchar(255), "roles" varchar(255), "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_user_id" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.3ms) CREATE UNIQUE INDEX "index_users_account" ON "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_users_on_sis_id" ON "coalescing_panda_users" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152458"]]  (0.9ms) commit transaction Migrating to CreateCoalescingPandaSubmissions (20141120152546)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "coalescing_panda_submissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer NOT NULL, "coalescing_panda_assignment_id" integer NOT NULL, "url" varchar(255), "grade" varchar(255), "score" varchar(255), "submitted_at" datetime, "workflow_state" varchar(255), "canvas_submission_id" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.3ms) CREATE UNIQUE INDEX "index_submissions_user_and_assignment" ON "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id", "canvas_submission_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_submissions_on_canvas_submission_id" ON "coalescing_panda_submissions" ("canvas_submission_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152546"]]  (1.0ms) commit transaction Migrating to CreateCoalescingPandaEnrollments (20141120153135)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer NOT NULL, "coalescing_panda_section_id" integer NOT NULL, "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_enrollment_id" varchar(255) NOT NULL, "enrollment_type" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.3ms) CREATE UNIQUE INDEX "index_enrollments_user_and_assignment" ON "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "enrollment_type")  (0.1ms) CREATE INDEX "index_coalescing_panda_enrollments_on_sis_id" ON "coalescing_panda_enrollments" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120153135"]]  (0.9ms) commit transaction Migrating to CreateCoalescingPandaCanvasBatches (20141121174846)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_canvas_batches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "percent_complete" float DEFAULT 0.0, "status" varchar(255), "message" text, "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141121174846"]]  (0.6ms) commit transaction Migrating to CreateDelayedJobs (20141124160857)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "queue" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141124160857"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_assignments.coalescing_panda_course_id, coalescing_panda_assignments.canvas_assignment_id: INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["user_id", "a"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 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 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction 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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction 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 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_lti_account_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_term_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 24"], ["name", "Account 24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 24"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 25"], ["name", "Account 25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 25"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 26"], ["name", "Account 26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 26"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "27"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 27"], ["name", "Account 27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 27"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 28"], ["name", "Account 28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 28"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 29"], ["name", "Account 29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 29"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 30"], ["name", "Account 30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 30"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 31"], ["name", "Account 31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 31"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 32"], ["name", "Account 32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 32"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]] 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" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "33"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 33"], ["name", "Account 33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 33"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 34"], ["name", "Account 34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 34"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 35"], ["name", "Account 35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 35"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "1"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", "2"], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 36"], ["name", "Account 36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 36"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 37"], ["name", "Account 37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 37"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 38"], ["name", "Account 38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 38"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 40"], ["name", "Account 40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 40"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 41"], ["name", "Account 41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 41"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 42"], ["name", "Account 42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 42"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 43"], ["name", "Account 43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 43"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 44"], ["name", "Account 44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 44"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 45"], ["name", "Account 45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 45"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_sections.coalescing_panda_course_id, coalescing_panda_sections.canvas_section_id: INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 46"], ["name", "Account 46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 46"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 47"], ["name", "Account 47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 47"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 48"], ["name", "Account 48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 48"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 49"], ["name", "Account 49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 49"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 50"], ["name", "Account 50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 50"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 51"], ["name", "Account 51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 51"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 52"], ["name", "Account 52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 52"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 53"], ["name", "Account 53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 53"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 54"], ["name", "Account 54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 54"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 55"], ["name", "Account 55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 55"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 56"], ["name", "Account 56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 56"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 57"], ["name", "Account 57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 57"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 58"], ["name", "Account 58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 58"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 59"], ["name", "Account 59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 59"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]] 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" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 60"], ["name", "Account 60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 60"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 61"], ["name", "Account 61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 61"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 62"], ["name", "Account 62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 62"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 63"], ["name", "Account 63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 63"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 12], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 64"], ["name", "Account 64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 64"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 65"], ["name", "Account 65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 65"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 66"], ["name", "Account 66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 66"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 67"], ["name", "Account 67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 67"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 68"], ["name", "Account 68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 68"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 69"], ["name", "Account 69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 69"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 70"], ["name", "Account 70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 70"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_users.coalescing_panda_lti_account_id, coalescing_panda_users.canvas_user_id: INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 71"], ["name", "Account 71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 71"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 72"], ["name", "Account 72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 72"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 73"], ["name", "Account 73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 73"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 74"], ["name", "Account 74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 74"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 75"], ["name", "Account 75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 75"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 76"], ["name", "Account 76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 76"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 77"], ["name", "Account 77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 77"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.3ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 81"], ["name", "Account 81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 81"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 82"], ["name", "Account 82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 82"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 83"], ["name", "Account 83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 83"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.6ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 84"], ["name", "Account 84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 84"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 85"], ["name", "Account 85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 85"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 86"], ["name", "Account 86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 86"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 87"], ["name", "Account 87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 87"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 88"], ["name", "Account 88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 88"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 89"], ["name", "Account 89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 89"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 90"], ["name", "Account 90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 90"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 91"], ["name", "Account 91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 91"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "

What is your name?

"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "

What is your Favorite Color?

"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 92"], ["name", "Account 92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 92"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 93"], ["name", "Account 93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 93"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 94"], ["name", "Account 94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 94"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "94"], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["key", "Key 95"], ["name", "Account 95"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 95"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 96"], ["name", "Account 96"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 96"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 97"], ["name", "Account 97"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 97"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 98"], ["name", "Account 98"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 98"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 99"], ["name", "Account 99"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 99"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 100"], ["name", "Account 100"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 100"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "100"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 101"], ["name", "Account 101"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 101"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 102"], ["name", "Account 102"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 102"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 103"], ["name", "Account 103"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 103"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 104"], ["name", "Account 104"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 104"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "104"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 105"], ["name", "Account 105"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 105"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 106"], ["name", "Account 106"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 106"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "106"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 107"], ["name", "Account 107"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 107"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 108"], ["name", "Account 108"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 108"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "108"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 109"], ["name", "Account 109"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 109"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 110"], ["name", "Account 110"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 110"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "110"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 111"], ["name", "Account 111"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 111"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 112"], ["name", "Account 112"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 112"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 113"], ["name", "Account 113"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 113"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] 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" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "113"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 114"], ["name", "Account 114"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 114"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "114"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 115"], ["name", "Account 115"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 115"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 116"], ["name", "Account 116"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 116"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "116"], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["key", "Key 117"], ["name", "Account 117"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 117"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 45], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 17:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] 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" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction